if upper(left(comm,4))="MODE" then signal MODECHANGE
if upper(left(comm,4))="JOIN" then signal JOIN
if upper(left(comm,4))="PART" then signal PART
if upper(left(comm,4))="KICK" then signal NOKICKME
vkr=random(1,100,time('s'))
if vkr<18 then signal something
signal huhuhloopit
something:
if tr=0 then signal huhuhloopit
'say /rx cs/csc_something.amirx'
signal huhuhloopit
MODECHANGE:
/* Start KaosGuardian */
xv=pos('!',prefix,1)
if xv>0 then do;nick=left(prefix,xv-1);end
xp=pos('+b',rest)
if xp<1 then signal MODE2
xp=pos(upper(myfront),upper(rest))
if xp>1 then signal PROT1A
signal MODE2
PROT1A:
getchannel
'echo 'chan
'say /notice 'nick' Not Wise to Ban Me ! -- KaOS GuArDiAn Mode Activated!'
'say /mode -b 'mynick
'say /deop 'dest' 'nick
'say /kick 'dest' 'nick' KaoSGuardian Mode - Mess with the Best, die like the rest!'
/* End KaosGuardian */
MODE2:
call kickrevenge2
xv=pos('!',prefix,1)
if xv>0 then do;vnick=left(prefix,xv-1);end
xp=pos('+v',rest)
if xp>0 then signal prot1
xp=pos('+o',rest)
if xp>0 then signal prot2
xp=pos('-o',rest)
if xp>0 then signal prot3
xp=pos('-v',rest)
if xp>0 then signal prot4
signal huhuhloopit
PROT1:
xp=pos(upper(mynick),upper(rest))
if xp<1 then signal huhuhloopit
'say Thanx for the Voice 'vnick'!'
signal huhuhloopit
PROT2:
xp=pos(upper(mynick),upper(rest))
if xp<1 then signal huhuhloopit
'say Thanks for the Ops 'vnick' Your my Bestest Friend Ever!! :*smooches*:'
signal huhuhloopit
PROT3:
xp=pos(upper(mynick),upper(rest))
if xp<1 then signal huhuhloopit
'say Why did you take away my ops 'vnick'?'
'say /msg 'vnick' OP ME NOW YOU FUCKING ASS HOLE!!'
do i=1 to 300;end
'say /msg 'vnick' Damnit!! Your just another Terry Cooksey Wannabe!!'
do i=1 to 300;end
'say /msg 'vnick' You are going on my Traitor List ASAP!!!(haha)'
signal huhuhloopit
PROT4:
xp=pos(upper(mynick),upper(rest))
if xp<1 then signal huhuhloopit
"say I'm sad now, that wasn't very nice "vnick"! I don't like you no more :((((("
'say /msg 'vnick' I WANT MY VOICE BACK!! NOW!'
do i=1 to 300;end
'say /msg 'vnick' Please!!!!'
do i=1 to 300;end
"say /msg "vnick" I'll go down on you!"
signal huhuhloopit
PRIVMSG:
getmynick
mynick=upper(result)
xv=pos('!',prefix,1)
if xv>0 then do;nick=left(prefix,xv-1);end
call setclip('NICK',nick)
do ppu=1 to 200;end
BIG=upper(rest)
small=rest
xr=pos('!BOTQUIT',BIG)
if xr>0 then signal barquit
xr=pos('!AUTOVOICE ON',BIG)
if xr>0 & muh=1 then do;'say 7AutoVoice On';avoice=1;signal huhuhloopit;end
xr=pos('!AUTOGREET ON',BIG)
if xr>0 & muh=1 then do;'say 7AutoGreet On';ag=1;signal huhuhloopit;end
xr=pos('!AUTOGREET OFF',BIG)
if xr>0 & muh=1 then do;'say 7AutoGreet Off';ag=0;signal huhuhloopit;end
xr=pos('!CLEARSCRAMBLE',BIG)
if xr>0 & muh=1 then do;'say 7Scramble Cleared';call setclip('SCRAMBLE','0');signal huhuhloopit;end
xr=pos('!AUTOVOICE OFF',BIG)
if xr>0 & muh=1 then do;'say 7AutoVoice Off';avoice=0;signal huhuhloopit;end
xr=pos('!TIME',BIG)
if xr>0 then signal TIMEDISP
xr=pos('WHAT IS ',BIG)
if xr>0 then signal WHATIS
xr=pos('!8BALL',BIG)
if xr>0 then signal 8BALL
xr=pos('!GOTO CHANNEL ',BIG)
if xr>0 then signal CHANSWITCH
xr=pos('!FSTAT',BIG)
if xr>0 then signal FSTAT
xr=pos('!SCRAMBLE',BIG)
if xr>0 then signal SCRAMBLE
xr=pos('!HANGMAN',BIG)
if xr>0 then signal HANGMAN
xr=pos('!FLIST',BIG)
if xr>0 then signal FLIST
xr=pos('!WHOIS ',BIG)
if xr>0 then signal WHOIS
xr=pos('!HUG ',BIG)
if xr>0 then signal HUG
xr=pos('!KISS ',BIG)
if xr>0 then signal KISS
xr=pos('!CC ',BIG)
if xr>0 then signal CSCC
xr=pos('!COMMAND',BIG)
if xr>0 then signal COMMANDS
xr=pos('!OPME',BIG)
if xr>0 then signal OPME
xr=pos('!ADDMASTER ',BIG)
if xr>0 then signal ADDMASTER
xr=pos('!REMMASTER ',BIG)
if xr>0 then signal REMOVEMASTER
xr=pos('!LAPDANCE',BIG)
if xr>0 then do;"say /me drops her panties, jumps into "nick"'s lap, turns and straddles him, grinds her crotch against his and and says, Wanna dance?";signal huhuhloopit;end
xr=pos('!BLOWME',BIG)
if xr>0 then do;"say /me goes over to "nick" unzips his pants, pulls out his tool and laughs hysterically at the size of it.";signal huhuhloopit;end
xr=pos('!LOADMASTER',BIG)
if xr>0 then signal reloadmaster
xr=pos('!GIVEROSE ',BIG)
if xr>0 then signal GIVEROSE
xr=pos('!ASKDANCE ',BIG)
if xr>0 then signal ASKDANCE
xr=pos('!GIVEBEER ',BIG)
if xr>0 then signal GIVEBEER
xr=pos('!SAY ',BIG)
if xr>0 then signal TALK
xr=pos('!FGET ',BIG)
if xr>0 then signal FGET
xr=pos('!QUOTE',BIG)
if xr>0 then signal JOKE
whoping=upper(nick)
xr=pos('!PING ME!',BIG)
if xr>0 then signal PINGME
xr=pos('!PING ',BIG)
whoping=word(big,2)
if xr>0 then signal PINGNICK
xr=pos('!SCAN ',BIG)
whoping=word(big,2)
if xr>0 then signal SCANNICK
xr=pos('!TEMP ',BIG)
if xr>0 then signal TEMPERATURE
xr=pos('!CHANSTAT',BIG)
if xr>0 then signal CHECKCHANNELSTATUS
xr=pos('!SEEN ',BIG)
if xr>0 then signal SEENLOAD
xr=pos('!SETUSER ',BIG)
if xr>0 then signal SETUSER
xr=pos('!ADVERTISE ',BIG)
if xr>0 then signal ADVERTISE
xr=pos('!AUTOTOPIC',BIG)
if xr>0 then signal AUTOTOPIC
xr=pos('!DIAGNOSTIC',BIG)
if xr>0 then signal DIAGNOSTIC
xr=pos('!JUKEBOX ',BIG)
if xr>0 then signal JUKEBOX
xr=pos('!RELOAD',BIG)
if xr>0 then signal RELOAD
xr=pos('!RESTART',BIG)
if xr>0 then signal RESTART
xr=pos('!LISTMASTERS',BIG)
if xr>0 then signal listmasters
xr=pos('!ABBR ',BIG)
if xr>0 then signal ABBR
xr=pos('!SHOT ',big)
if xr>0 then signal SHOT
xr=pos('!FOOD ',big)
if xr>0 then signal FOOD
xr=pos('!VERSION',BIG)
if xr>0 then signal VERSION
xr=pos('VERSION',BIG)
if xr>0 then signal CTCPVERS
xr=pos('USERINFO',BIG)
if xr>0 then signal CTCPUINFO
xr=pos('DCC C',BIG)
if xr>0 then signal CTCPChAT
xr=pos('!GAMES',BIG)
if xr>0 then signal GAMES
xr=pos('!AI ON',BIG)
if xr>0 & muh=1 then do;tr=1;'say 7Interactive Mode Engaged';signal huhuhloopit;end
xr=pos('!AI OFF',BIG)
if xr>0 & muh=1 then do;tr=0;'say 7Interactive Mode Dis-Engaged';signal huhuhloopit;end
if tr=1 then signal terror
signal huhuhloopit
AUTOTOPIC:
if muh=0 then signal huhuhloopit
if mystatus~=1 then do;"say sorry "nick" I don't have op status";signal huhuhloopit;end
rtop=random(1,10,time('s'))
if rtop=1 then top="Welcome to "channam"!!"
if rtop=2 then top="Sometimes you feel like a nut, sometimes you are one."
if rtop=3 then top="Shiela is Back, Better than ever!"
if rtop=4 then top="Microsoft Sucks!"
if rtop=5 then top="Where have all the good men gone?"
if rtop=6 then top="Its Wet T-Shirt Night in "channam"!!"
if rtop=7 then top="Rock til ya drop!"
if rtop=8 then top="This space intentionally left blank"
if rtop=9 then top="If anyone can think of a better topic then this, please do so!"
if rtop=10 then top="Pokemon are cool!!"
'say /topic 'top
signal huhuhloopit
ADVERTISE:
if muh=0 then signal huhuhloopit
call open(fle,adfile,'R')
'getchannel'
curchan=result
'say /part 'curchan
kk=1
do until eof(fle)
ch.kk=readln(fle)
kk=kk+1
end
maxch=kk-2
call close(fle)
msgg=delstr(small,1,11)
goCHANNEL:
do kk=1 to maxch
'say /join 'ch.kk
call delay
'say 'msgg
call delay
'say /part 'ch.kk
end
call delay
'say /join 'curchan
call delay
'say 6Mission Accomplished Sir.'
signal huhuhloopit
DELAY:
p=time('s')
n=p+5
waitfortime:
p=time('s')
if p>n then return
signal waitfortime
SCRAMBLE:
'say /rx cs/csc_scramble.amirx'
signal huhuhloopit
HANGMAN:
'say /rx cs/csc_hangman.amirx'
signal huhuhloopit
JUKEBOX:
temp2=small
kkrv=length(small)
temp=right(small,kkrv-9)
'say /me walks over to the jukebox, drops a coin in, and plays 'temp' - courtesy of 'nick
signal huhuhloopit
SHOT:
TEMP=subword(small,2)
'say /me pours a 'temp' for 'nick'.'
signal huhuhloopit
GIVEROSE:
TEMP=subword(small,2)
'say /me Walks over and Gives 'temp' a Rose 3--<-<-<{4@ and whispers, its from 'nick
signal huhuhloopit
GIVEBEER:
TEMP=subword(small,2)
'say /me winks at 'nick' Pours a Beer, Walks over and gives the Beer to 'temp' - psst: its from 'nick
signal huhuhloopit
ASKDANCE:
TEMP=subword(small,2)
'say /me goes on over to 'temp' and tells them that 'nick' is shy but would love to dance with them'
signal huhuhloopit
HUG:
TEMP=subword(small,2)
'say /me walks over to 'temp' and gives them a big hug!'
signal huhuhloopit
KISS:
TEMP=subword(small,2)
'say /me walks over to 'temp' and gives them a big sloppy Kiss... *SMOOOCH* :*'
signal huhuhloopit
FOOD:
TEMP=subword(small,2)
'say /me Brings out a plate of 'temp' for 'nick'.'
signal huhuhloopit
OPME:
if muh=0 then signal huhuhloopit
if mystatus~=1 then do;"say sorry "nick" I don't have op status";signal huhuhloopit;end
if mystatus=1 then 'say /op 'nick
if mystatus=1 then 'say There ya go Master 'nick'.'
signal huhuhloopit
VOICEUSER:
if mystatus~=1 then signal huhuhloopit
if avoice=1 then 'say /voice 'nick
return
GAMES:
'say 3I can host the Following Games: 4!Hangman 3and 4!Scramble'
'say /notice 'nick' USERINFO 6CyberShiela is Powered By Amiga!'
signal huhuhloopit
CTCPChAT:
'say /msg 'nick' DO NOT DCC CHAT ME!!!!! '
signal huhuhloopit
TERROR:
do vk=1 to max
big=upper(rest)
xr=pos(upper(c.vk),BIG)
if xr>0 then do;outtext=d.vk;signal modif;end
end
signal huhuhloopit
TEMPERATURE:
temp=word(rest,2)
dg=word(rest,3)
'say /rx cs/tempconvert 'temp' 'dg
signal huhuhloopit
CSCC:
cc=word(rest,2)
'say /rx cs/shielacc.amirx 'cc
signal huhuhloopit
COMMANDS:
'say /dcc send 'nick' 'dir'/rexx/cs/commands.txt'
signal huhuhloopit
ABBR:
temp=word(rest,2)
'say /rx cs/abbr 'temp
signal huhuhloopit
CSCC:
cc=word(rest,2)
'say /rx cs/shielacc.amirx 'cc
signal huhuhloopit
JOIN:
signal checkonjoin
JOIN=1
signal huhuhloopit
PART:
signal checkonpart
JOIN=2
signal huhuhloopit
call checkmaster
if muh~=0 then do;if mynick~=nick then 'say My Master 'nick' has arrived!';end
call voiceuser
signal huhuhloopit
DIAGNOSTIC:
'say 4-Checking Systems Now-'
getservername
srvr=result
isconnected
isc=result
getversion
vrs=result
if avoice=1 then av="on"
if avoice=0 then av="off"
if tr=1 then bt="on"
if tr=0 then bt="off"
'say 3Systems are 8 100% 3Operational'
'say 3I am on Server: 7'srvr
'say 6Auto Voice is 'av
'say 7Interactive Mode is 'bt
'say 3My Version is: 7CyberShiela V1.0 Using 3 AmIRC 'vrs
signal huhuhloopit
TALK:
if muh=0 then signal huhuhloopit
vtalk=strip(rest,'L',':!say ')
'say 'vtalk
signal huhuhloopit
WHOIS:
wnick=word(rest,2)
userhost wnick
whost=result
options results
call checkwho
if upper(whost)=upper(mynick) then whost="**Unknown User**"
if mth=1 then heis='a Master'
if mth=0 then heis='a Regular'
if whost=1 then do;'say 'wnick' is not a user in my database';signal huhuhloopit;end
'say 'wnick' is 'whost' and is 'heis' User in my database'
signal huhuhloopit
checkwho:
do i=1 to maxmast
'matchuserhost 'wnick'!'whost' 'mast.i
mth=rc
if mth=1 then return
end
return
TIMEDISP:
xt=time('C')
'say The Time here is 'XT
signal huhuhloopit
CHANSWITCH:
if muh=0 then signal huhuhloopit
oldchan=channam
newchan=word(rest,3)
if left(newchan,1)~="#" then do;'say Thats not a valid channel!!!';signal huhuhloopit;end
'say Bye Everyone!!'
do i=1 to 12000;end
'say /part 'channam' heading to 'newchan
'say /join 'newchan
do i=1 to 12000;end
'say Hello everyone!'
getchannel
channam=result
getusers
namu=result
vvr=words(namu)
if vvr<2 then signal GOBACK
signal huhuhloopit
GOBACK:
'say /part 'channam
'say /join 'oldchan
do i=1 to 12000;end
getchannel
channam=result
'say Hey that channel was boring. I am back now!! >:)'
signal huhuhloopit
modif:
user=nick
old=outtext
m=length(user);temp=outtext;x=pos("$1",temp);if x~=0 then do;temp2 = delstr(temp,x,2);old = insert(user,temp2,x-1,m," ");end
temp=old;m=length(channam);x=pos("$chan",temp);if x~=0 then do;temp2 = delstr(temp,x,5);old = insert(channam,temp2,x-1,m," ");end
'say 'old
signal huhuhloopit
barquit:
if muh=0 then signal huhuhloopit
'say 6Bye Everyone, I gotta go now!! Cyas!!'
exit
CHECKMYSTATUS:
getmynick
mynick=result
getusers
allusers=result
numusers=words(allusers)
do i=1 to numusers;u.i=word(allusers,i);uu.i=strip(u.i,'B','+');u.i=uu.i;uu.i=strip(u.i,'B','@');u.i=uu.i;u.i=uu.i;uu.i=strip(u.i,'B','%');u.i=uu.i;end
users=""
do i=1 to numusers;users=users||u.i||" ";end
allusers=users
me=find(allusers,mynick)
"getuserstate "me-1
mystatus=rc
/*call kickrevenge */
return
KICKREVENGE2:
/* this is kinda just for fun... doens't always work right */
if revlist="" then return
if rev=0 then return
call checkmystatus
if mystatus=1 then 'say Revenge is Now Mine!!'
if mystatus=1 then call KICKINGTIME
return
KICKINGTIME:
mm=words(revlist)
do i=1 to mm
'say /kick 'word(revlist,mm)' Was it fun Kicking Innocent Little 'mynick' before?'
'say /msg 'nick' 4I have 'dcc.send.0 'slots in use of 'fslots
signal huhuhloopit
FLIST:
call fserv
'say /msg 'nick' 3items for download are: '
do i=1 to maxitem
'say /msg 'nick' 4 «'i'4» 2'item.i
end
'say /msg 'nick' 3Type !Fget # to recieve a file'
signal huhuhloopit
FSTAT:
call fserv
"GETDCC"
'say /msg 'nick' 4I have 'dcc.send.0' slots in use out of 'fslots' --This Function is not 100% Implimented yet'
signal huhuhloopit
SETUSER:
if muh=0 then signal huhuhloopit
msg1=""
snick=word(BIG,2)
smod=word(BIG,3)
if SMOD="" then do;'say 3Usage:!setuser NICK MODE Mode can be OVP';signal huhuhloopit;end
'say 4Modifying Flags For 5'snick
kk=1
call open(fle,seencfg,'R')
do until eof(fle)
seen.kk=readln(fle)
un.kk=word(seen.kk,1)
um.kk=word(seen.kk,2)
uf.kk=word(seen.kk,3)
ul.kk=word(seen.kk,4)
if upper(un.kk)=snick then do;uf.kk=word(BIG,3);'say 5 'snick' modified with option:7 'uf.kk;end
kk=kk+1
end
maxusers=kk-2
call close(fle)
'say 4*No More Matches*'
call WRITESEEN
signal huhuhloopit
SEENLOAD:
msg1=""
snick=word(BIG,2)
'say 4Checking for Info on 5'snick
kk=1
call open(fle,seencfg,'R')
do until eof(fle)
seen.kk=readln(fle)
un.kk=word(seen.kk,1)
um.kk=word(seen.kk,2)
uf.kk=word(seen.kk,3)
ul.kk=word(seen.kk,4)
if upper(un.kk)=snick then do;call checkitop;'say 4SEEN *Match* Found:6 'un.kk' 'um.kk' Last Seen 'ul.kk' 'msg1;end
kk=kk+1
end
maxusers=kk-2
call close(fle)
'say 4*No More Matches*'
signal huhuhloopit
checkitop:
z=pos('O',upper(uf.kk))
y=pos('V',upper(uf.kk))
m=pos('B',Upper(uf.kk))
if z~=0 then msg1='4Has Operator Status'
if y~=0 then msg1='4Has Voice Status'
if z~=0 then msg1='4Has Operator Status'
if m~=0 then msg1='4Is on my BANLIST'
return
checkknown:
if join=1 then signal checkonjoin
if join=2 then signal checkonpart
/* notes OVMBP Op Voice Master Ban Protect um=usermask un=username uf=userflags ul=userlastdate
not all features implimented yet. Only OP and VOICE and Ban B for Ban O for OP V for Voice
*/
READSEEN:
kk=1
call open(fle,seencfg,'R')
do until eof(fle)
seen.kk=readln(fle)
un.kk=word(seen.kk,1)
um.kk=word(seen.kk,2)
uf.kk=word(seen.kk,3)
ul.kk=word(seen.kk,4)
kk=kk+1
end
maxusers=kk-2
call close(fle)
return
ADDSEEN:
xt=time('C')
dt2=date('N')
dt=compress(dt2,' ')
maxusers=maxusers+1
pk=maxusers
un.pk=nick
um.pk=msgr
uf.pk='v'
ul.pk=dt"_"xt
temp=msgr
x=pos('@',temp)
v2=pos('.',temp)
y=left(temp,x)
t=length(temp)
v=t-v2
z=right(temp,v)
tm='*!*'y'*.'z
um.pk=tm
mmmm=right(temp,1)
if mmmm<10 then do
z=pos('@',temp)
temp2=reverse(temp)
x=pos('.',temp2)
p=length(temp2)-x
m='*.'right(temp2,p)
ww=reverse(m)
tm='*!*'ww
um.pk=tm
end
seen.pk=un.pk" "um.pk" "uf.pk" "ul.pk
call writeseen
return
CHECKONJOIN:
if nick=mynick then signal huhuhloopit
call readseen
found=0
xt=time('C')
dt2=date('N')
dt=compress(dt2,' ')
do zzz=1 to maxusers
option results
'matchuserhost 'nick'!'msgr' 'um.zzz
mt=rc
if mt=1 & ag=1 then do;'say hi 'nick' I know you! I last saw you on 'ul.zzz;end
if mt=1 then do;call updateseen;found=1;end
end
if found=1 then signal huhuhloopit
if mt=0 & ag=1 then do;"say Hi "nick" I don't know you, My Name is "mynick" And I am a friendly bot for a list of commands type !commands in the channel. Updating my records with your information now.";end
if mt=0 then call addseen
signal huhuhloopit
CHECKONPART:
if nick=mynick then signal huhuhloopit
call readseen
found=0
xt=time('C')
dt2=date('N')
dt=compress(dt2,' ')
do zzz=1 to maxusers
option results
'matchuserhost 'nick'!'msgr' 'um.zzz
mt=rc
if mt=1 then do;call updateseen;found=1;end
end
if found=1 then signal huhuhloopit
if mt=0 then call addseen
signal huhuhloopit
UPDATESEEN:
xt=time('C')
ul.zzz=dt"_"xt
un.zzz=nick
temp9=upper(uf.zzz)
uf.zzz=temp9
call writeseen
x=pos('O',uf.zzz)
if x~=0 & mystatus=1 then do;'say /op 'nick;end
x=pos('V',uf.zzz)
if x~=0 & mystatus=1 then do;'say /voice 'nick;end
x=pos('B',uf.zzz)
if x~=0 & mystatus=1 then do;'say 'nick' You Are on my Banlist!! Out you go!';'say /ban 'nick' 'um.zzz;'say /kick 'nick' Your on my Banlist BYE BYE!!';end